HS_CLOSE_RVS_RELAY

HS_CLOSE_RVS_RELAY

   
SYNTAX:

        HS_CLOSE_RVS_RELAY(PINS ,WAIT=x [,MODE] [,ALL_SITE_ON/FAIL_SITE_ONLY/PLAN_FAIL_SITE_ONLY]  [,PN_CH/PCH/NCH]);

DESCRIPTION:

        Set the RVS relay group on(close) or off(open). 

        This instruction used to connect RVS with HS channels.

REQUIRED ARGUMENT:

         PARA1: PINS

            PIN_GROUP_NAME or PIN_NAME

         PARA2: WAIT=x

              Wait time to next instruction.

OPTIONAL ARGUMENT:

         PARA: MODE

              CONNECT_MODE/DISCONNECT_MODE/NORMAL_MODE

              CONNECT_MODE: Close assigned relay group and the previous closed relay keep connected.

              DISCONNECT_MODE: Open assigned relay group and previous closed relay keep connected.

              NORMAL_MODE: Close assigned relay group and others relay disconnected.

              Default: NORMAL_MODE

         PARA: ALL_SITE_ON/FAIL_SITE_ONLY/PLAN_FAIL_SITE_ONLY     

              ALL_SITE_ON: Set driver executed on every site, even on the fail site.

              FAIL_SITE_ONLY: Driver executed on the fail site only.

              PLAN_FAIL_SITE_ONLY: Driver executed on the fail site ,it will occurs at this plan Fail site only.

              Default: Driver executed on the pass site only.       

         PARA: PN_CH/PCH/NCH

              PN_CH: connect to P channel and N channel.

              PCH: only connect to P channel.

              NCH: only connect to N channel.

              default: PN_CH

       

EXAMPLE:

           HS_CLOSE_RVS_RELAY(HS_CH1,WAIT=1MS,CONNECT_MODE,PN_CH);